﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BackMaster2.Master" AutoEventWireup="true" CodeBehind="SelectMomLoanMone.aspx.cs" Inherits="BackStage.SelectMomLoanMone" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <%--  <link href="BootstrapSouce/css/bootstrap.min.css" rel="stylesheet" />--%>
    <script src="BootstrapSouce/js/jquery.min.js"></script>
    <%-- <script src="BootstrapSouce/js/bootstrap.min.js"></script>--%>
    <form id="form1" runat="server">
        <div class="container" style="width: 100%;">
            <br />
            <br />
            <div style="float: right">
                <asp:TextBox ID="Title1" runat="server" placeholder="请输入标题"></asp:TextBox>&nbsp;&nbsp;
            <asp:TextBox ID="MinTime1" type="date" runat="server" placeholder="发布借款起始时间"></asp:TextBox>&nbsp;&nbsp;
            <asp:TextBox ID="MaxTime1" type="date" runat="server" placeholder="发布借款结束时间"></asp:TextBox>&nbsp;&nbsp;
            <asp:Button ID="Button3" CssClass="btn-primary" Width="60px" runat="server" Text="搜索" OnClick="Button3_Click" />
            </div>
            <table class="table table-bordered table-hover table-striped" style="margin-top: 50px; text-align: center">
                <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
                    <HeaderTemplate>
                        <tr>
                            <th style="text-align: center">编号</th>
                            <th style="text-align: center">借款标题</th>
                            <th style="text-align: center">借款金额</th>
                            <th style="text-align: center">借款期限</th>
                            <th style="text-align: center">还款方式</th>
                            <th style="text-align: center">借款人</th>
                            <th style="text-align: center">标的状态</th>
                            <th style="text-align: center">发布借款时间</th>
                            <th style="text-align: center">操作</th>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td><%#Eval("MemLoanId") %></td>
                            <td><%#Eval("Title") %></td>
                            <td><%#Eval("LoanMoney") %></td>
                            <td><%#Eval("LoanTerm") %>个月</td>
                            <td><%#Eval("RepaymentModeId") %></td>
                            <td><%#Eval("UserName") %></td>
                            <td><%#((DateTime)Eval("LaunchLoanTime")).ToString("yyyy-MM-dd") %></td>
                            <td><%#Eval("state") %></td>
                            <td>
                                <asp:Button ID="Button1" CssClass="btn-primary" runat="server" Text="通过" CommandName="ok" CommandArgument='<%#Eval("MemLoanId") %>' />
                                <asp:Button ID="Button2" CssClass="btn-danger" runat="server" Text="驳回" CommandName="pas" CommandArgument='<%#Eval("MemLoanId") %>' />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </div>
        <div style="text-align: center; margin-top: 0px;">
            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" ShowPageIndexBox="Always" SubmitButtonText="跳转" OnPageChanged="AspNetPager1_PageChanged"></webdiyer:AspNetPager>
        </div>
    </form>
</asp:Content>


